cmake_minimum_required(VERSION 2.8)
project(test)
include_directories(include)
add_library(square STATIC src/square.cpp)
 
add_executable(demo src/main.cpp)
target_link_libraries(demo square)
 
add_subdirectory(test)
enable_testing()
add_test(NAME square_test COMMAND Test)
